package com.weizhi.server.service.impl;

import com.weizhi.server.entity.Product;
import com.weizhi.server.mapper.ProductMapper;
import com.weizhi.server.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductServiceImpl implements ProductService {

    @Autowired
    private ProductMapper productMapper;

    @Override
    public Product selectById(Long id) {
        return productMapper.selectById(id);
    }
}
